Skip to content

Releases: alfredbaudisch/ecto_instashard

0.7.0 - Ecto 3 and Elixir 1.10+

27 Oct 14:18
Compare
Choose a tag to compare
  • Updated Supervisor child specs
  • Updated Ecto dep to 3.10

0.6.0

11 May 11:47
Compare
Choose a tag to compare
Introduces breaking change, by changing the shard name string replace…

0.5.0

14 Mar 14:51
Compare
Choose a tag to compare

Full Changelog: v0.3.0...0.5.0

I want to point out that even although most of the code in the library looks outdated (7 years ago), this library is used in production since 2019 at FarmBackup to write and read billion of GPS logs in a single PostgreSQL database.

v0.3.2

07 Sep 09:11
Compare
Choose a tag to compare
  • Renamed user_id to parent_id, since the sharded data can be related to a parent item that is not necessarily a user (example: log data related to an order)
  • Removed unused and deprecation warnings
  • Added get and get_all tests (selecting data from the sharded table)

v0.3.0

04 Sep 13:10
Compare
Choose a tag to compare
  • Bumped Ecto to 2.2.* and Postgrex to 0.13.*
  • Adjusted sharded_insert to be compatible with the bumped Ecto version

0.2.1

23 Dec 09:44
Compare
Choose a tag to compare
  • Update deps versions
  • Removed nonsense system_env in the setup
  • New Get and get all functions to get items using the id
  • Helper function to get a single record

Support to multiple DDLs in a single SQL file

27 Oct 22:36
Compare
Choose a tag to compare
  • Multiple DDL SQL commands in the same SQL file definition (see the example test/scripts/messages.sql)
  • Each DDL must be separated by 2 new lines.

v0.1.1

17 Oct 03:40
Compare
Choose a tag to compare

This implementation has all the features to use the physical and logical sharding as per the Instagram model. It is being used in production at Fred.