Git Product home page Git Product logo

Comments (3)

nobufumi-tego avatar nobufumi-tego commented on August 12, 2024 1

私がORM使ったことがないので、今使ってるのは SQLで直接インサートしてます。
Google Cloud Functiions からの処理なら個人的にはORMなしでシンプルにSQL直でいいかと思ったりします。
ユニットテストも確かにです。こっちも調査してみますが、あまり期待できないかも。
ローカルのシュミレータがあるって情報見つけました。試してはないですが・・・。
https://qiita.com/Hisaaki-Kato/items/7b57e53058d80b71c8c0
RDBMで直近のデータを格納して、BQへ吐き出すのはありですね。
基本、BQはそういった使い方がメインと思います。
私が直接使ってるのがレアケースだと思います。

from ono_hackathon_saru.

nobufumi-tego avatar nobufumi-tego commented on August 12, 2024

BigQueryが推しです。
https://cloud.google.com/bigquery?hl=ja

from ono_hackathon_saru.

gunsow911 avatar gunsow911 commented on August 12, 2024

ありがとうございます!あまりBigQueryのことを把握していなかったので、調べてみました。
いくつか懸念点があります。

・ORM(Object Relational Mapping)がサポートされてなさそう?
SQLを直接触るのは、かなりリスキーです。どのORMでも良いのですが、BigQueryのサポートがあると嬉しいです。

・ユニットテスト環境が無い
ローカルのみで料金を気にせずテストを行いたいです。
ローカルで完結できる仕組みがあると嬉しいです。

BigQueryに関しては分析用のものかな?というのが全体的な印象なので、例えば、
mysqlで作って、そのデータをBigQueryと同期するというのはどうでしょうか?
(料金的にどうなるかは一度シミュレーションしたほうが良さげです。)
https://cloud.google.com/datastream-for-bigquery?hl=ja

from ono_hackathon_saru.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.