2020 年 1 月 21 日開催 GKE & Cloud Spanner 勉強会【基礎編】 セッション:Cloud Spanner の技術概要 講師:サミール ハムディ ゲーム ソリューション アーキテクト
![超実践 Cloud Spanner 設計講座](https://cdn-ak-scissors.b.st-hatena.com/image/square/1bbdb8b19a323284b72fa3a32158c5bf2843ca99/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fslidesharecloudspanner-170720103816-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)
なぜ SQL_CALC_FOUND_ROWS や LIMIT OFFSET のページングが良く無いのか ここ最近の大規模サービス関連したデータページング考です。 mysql 5.5.34 で試して記事書いてます。 bigdata テーブルは id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY KEY (id) なカラムがある前提です。もちろん InnoDB です。 2014年なんだからCOUNT(*)とかSQL_CALC_FOUND_ROWSとかLIMIT OFFSETのページングはやめようぜ - Togetterまとめが発端にみえるけど、わりと昔から話されてる事なんだけど、「nippondanji SQL_CALC_FOUND_ROWS」でググっても有用な情報ないし文書化されてないからしとく。 ページング処理で使われがちな機能です。 S
Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at
Twitterのステータス情報などをpythonのurllib2やらで取得し、MySQLに登録するときに起きる日本語の文字化けを修正するテクニック。 SQLAlchemyを使った場合、MySQLにデータを挿入またはデータを更新する場合に、日本語が文字化けするときがある。その場合にとる方法は次の通り データベース接続の設定 接続パラメータに文字コード(charset)をUTF8に指定する。 sqlalchemy.url = mysql://username:password@host:port/database?charset=utf8 テーブルをセットするときにutf8等にセットすることも有効 参照:crazy()for(;;)you(); これが一番大事! その他 他に考えられるのは次のようなもの。 SQLAlchemy:create_engine インスタンス作成時にエンコーディングを
Table of Contents What is the FromDual Performance Monitor for MariaDB and MySQL (fpmmm)? Available modules Prerequisites Download and install Considerations Enterprise subscription and Support Monitoring as a Service (MaaS) Examples What is the FromDual Performance Monitor for MariaDB and MySQL (fpmmm)? The FromDual Performance Monitor (fpmmm) for MariaDB, Galera Cluster, MySQL and Percona Server
Update: Here's the video of the talk. Erick Pickup, lead developer at YouPorn.com, presented their architecture in a talk titled Building a Website To Scale given at the ConFoo conference. As you might expect, YouPorn is a beast, streaming three full DVDs of video every second, handing 300K queries every second, and generating up to 15GBs of log data per hour. Unfortunately, all we have are the s
最近のウェブ系スタートアップが採用しているプログラミング言語やフレームワークまとめ とちょうど同じくらいの時期に High Scalability に Tumblr Architecture - 15 Billion Page Views A Month And Harder To Scale Than Twitter という記事がでていた。 まとめだと Tumblr は PHP を使っていることになっているけど、いま現在の Tumblr は PHP ですべてを書くのを止めて、Scala も使っているらしい。 Scala と Finagle Tumblr はもともと LAMP (Linux + Apache + MySQL + PHP) で出来ていた。スケールさせるために memcached や HAProxy でキャッシュしてみたり、MySQL を sharding してみたり、バックエ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く