Batch Insert for Mybatis (just @BatchInsert)

Overview

mybatisBatch

Batch Insert for Mybatis,提供更简化的基于 mybatis 的数据库批量保存插件。

功能说明

本项目是一个 mybatis 插件,目的是为了简化编写批量保存的代码。
在使用mybatis编写批量保存方法时,通常情况下需要基于mybatis的动态sql机制,使用 <foreach> 标签拼接sql语句,这明显带来了不小的开发工作量,并且更多的代码量还增加了错误发生的概率(如空字段问题、sql过长问题等),开发人员甚至还需要适配学习不同数据库的批量保存的sql语法,使用本插件,可以避免编写复杂的动态拼接批量保存sql代码,降低开发难度,提高开发效率。
虽然mybatis提供了批量模式,但是开发人员还是需要编写更多的代码以实现功能,并且还需考虑分页、事务、性能等其他问题,本插件基于mybatis批量模式封装了批量保存数据的功能,并且整合了spring事务管理框架,使开发人员能够更容易的编写正确的数据库批量保存代码。

使用指导

编码方式

在Mapper里用做批量保存的方法上添加注解 @BatchInsert ,并且这个方法映射的sql语句是单条数据保存。
注解参数简单说明:

字段 格式 用途说明
collection String 表示方法入参的集合对象,与方法入参里表示实体类集合参数的@Param注解的值一致
item String sql语句里的对象名
batchSize int 分页提交的数量,默认500
insert String 指定的单条插入方法名,可以为空
flushStatements boolean 是否预执行sql,默认为true

示例代码:

@Insert({"insert into test (id, name)", "values", "(#{po.id}, #{po.name})"})
@BatchInsert(collection = "testPOS", item = "po", batchSize = 1000)
void batchInsert(@Param("testPOS") List<TestPO> po);

如果只有一个集合入参,可以不配置 @Param,并且不指定 collection,如果sql语句里的参数没有明确指定参数名, 可以不指定 item, 批量提交的数量也可以不指定值,下面的代码与上面代码的将会达到相同的效果:

@Insert("insert into test (id, name) values (#{id}, #{name})")  
@BatchInsert  
void batchInsert(List<TestPO> po);  

上面的两段代码功能与下面的一致(sql语法因数据库而异),但是性能更优(见性能测试):

@Insert({"<script>",
        "insert into test(id, name) values ",
        "<foreach collection='testPOS' index='index' item='po' separator=','>",
        "(#{po.id}, #{po.name})",
        "</foreach>",
        "</script>"})
void forEachInsert(@Param("testPOS") List<TestPO> po);

除了基于 @Insert 注解的编程方式,还支持 @InsertProviderxml 的方式,只需在对应的Mapper接口的方法上增加 @BatchInsert 注解即可。
参数 insert ,指定的单条插入方法名,这个方法一定要在当前Mapper里存在,并且单个保存方法的参数是批量保存参数的子集, 这样批量保存方法可以不用写@Insert以及sql代码,使用方式如下所示:

@Insert({"insert into ${tableName} (id, name)", "values", "(#{po.id}, #{po.name})"})
void insertOne(@Param("tableName") String tableName, @Param("po") TestPO po);

// item必须要跟insertOne的sql语句里的对象名一致
@BatchInsert(insert = "insertOne", collection = "testPOS", item = "po", batchSize = 1000)
void batchInsert(@Param("tableName") String tableName, @Param("unused") String unused, @Param("testPOS") List<TestPO> po);

@BatchInsert 注解使用时,如果指定了 insert 参数的同时,方法也拥有 @Insert 注解,取 insert 参数配置的方法。
启动时不会检查正确性,如果编写有误,将会在执行时抛出相应异常。

注意:

  1. 由于本项目的批量是基于Mybatis的BATCH模式,并手动批量提交已执行的部分sql, 不大建议在强事务性业务中使用本插件 ,如果使用中遇到了问题,欢迎联系开发者共同学习。
  2. 建议在各种 异步批量保存 的场景下使用,以及事务里批量保存后不再访问数据库的场景。
  3. 本插件已尽最大可能解决事务的问题,确保spring环境下正常使用,关于事务问题请看:事务问题

springboot 项目

增加如下依赖:

<dependency>
    <groupId>io.github.egd-prodigal</groupId>
    <artifactId>mybatis-batch-starter</artifactId>
    <version>2.0.5</version>
</dependency>

示例见项目:sample -> springboot-sample

注:如果是自己装配SqlSessionFactoryBean的,不需要额外编写添加插件的代码,会自动添加,纯spring环境下也一样。

spring 项目

增加如下依赖

<dependency>
    <groupId>io.github.egd-prodigal</groupId>
    <artifactId>mybatis-batch-spring</artifactId>
    <version>2.0.5</version>
</dependency>

前提是已经在项目里整合好了Mybatis,然后在项目中使用下列任意一种配置:

  1. 指定扫描包路径
    <context:component-scan  base-package="io.github.egd.prodigal.mybatis.batch.config"/>
  2. 手动注册Bean
    1. 基于XML配置
      <bean class="io.github.egd.prodigal.mybatis.batch.config.MybatisBatchConfiguration"/>
    2. 基于JavaConfig
      @Bean
      public MybatisBatchConfiguration mybatisBatchConfiguration() {
        return new MybatisBatchConfiguration();
      }

示例见项目:sample -> springboot-sample

spring 项目

增加如下依赖

<dependency>
    <groupId>io.github.egd-prodigal</groupId>
    <artifactId>mybatis-batch</artifactId>
    <version>2.0.5</version>
</dependency>

在配置文件 mybatis-config.xml (也可以是其他文件名)里增加插件配置:

<plugins>
    <plugin interceptor="io.github.egd.prodigal.mybatis.batch.plugins.BatchInsertInterceptor"/>
</plugins>

编写mybatis初始化代码,基于xml配置生成SqlSessionFactory,如果是不基于xml配置生成的,请自行添加插件,然后在执行数据访问代码前编写如下代码:

// 此处的sqlSessionFactory在之前的代码里生成
BatchInsertContext.setSqlSessionFactory(sqlSessionFactory);
// 添加拥有批量保存方法的Mapper接口类,可以传多个类,可以在任意位置调用
BatchInsertScanner.addClass(ITestMapper.class);
// 扫描批量保存方法,可以在任意位置任何使用调用,
// 每次调用都只会扫描上次调用scan之后调用addClass添加的新的Mapper接口类
BatchInsertScanner.scan();

示例见项目:sample -> simple-sample (这个项目也承载了性能测试的功能)

关于百度到的其他教程

spring-batch

这一段与本插件没有关系 。spring批处理组件,使用这个组件的用户,大概率不需要使用本插件,这里只是提供另外一种mybatis批量保存的方式。
编写代码手动装配要进行批量保存的 MyBatisBatchItemWriter ,示例代码:

@Bean
public MyBatisBatchItemWriter<TestPO> itemWriter() {
   MyBatisBatchItemWriterBuilder<TestPO> itemWriterBuilder = new MyBatisBatchItemWriterBuilder<>();
   itemWriterBuilder.sqlSessionTemplate(new SqlSessionTemplate(sqlSessionFactory, ExecutorType.BATCH));
   // 这里的statementId,填完整的路径:package.class.method,指定单个保存方法
   itemWriterBuilder.statementId("io.github.egd.prodigal.sample.repository.mapper.ITestMapper.insert");
   // 执行时校验结果的,事实上结果由各个数据库驱动提供,设置成true的话部分数据库执行报错,详情自测
   itemWriterBuilder.assertUpdates(false);
   return itemWriterBuilder.build();
}

如果单个保存的方法,方法入参没有指定 @Param 注解,上面的代码就可以了,但是如果指定了 @Param 注解,那么还需要额外 设置 itemWriterBuilderitemToParameterConverter ,如下所示:

itemWriterBuilder.itemToParameterConverter(testPO -> {
   Map<String, TestPO> paramMap = new HashMap();
   // 此处的key与单条保存的方法注解Param里配置的一致
   paramMap.put("po", testPO);
   return paramMap;
});

这样就可以在业务中使用 MyBatisBatchItemWriter 执行批量保存的逻辑,但是关于它的事务问题,请自行研究,下面关于事务的内容仅供参考。

mybatis-dynamic-sql

这一段与本插件也没有关系。在网上搜寻mybatis批量保存的教程时,会找到使用mybatis批量模式,示例代码里写着 BatchInsert,仿佛找到了最佳解决方式,实际上这个 BatchInsert 来自 mybatis-dynamic-sql ,这是由mybatis官方出品的一个基于java代码实现动态sql生成的组件且完美集成了mybatis的功能,并不能从本质上提供批量保存的功能,只是换了一种写法,而这种写法也并不能说是绝对的"优雅"。
看了一圈官网的教程,从个人角度以及实际开发经历来说,业务系统还是更适合使用基于xml编写sql的方式,事务型业务基本上都是基于表的形式存在并且表的字段可以非常多,大量的复杂业务带来的大量的sql编写,无论是从开发还是运维的角度,直接编写简洁且阅读性高的代码才是有利于业务系统开发的方式,无论是业务逻辑还是数据库访问代码,都应从团队出发,编写简洁易读的代码。
看完 mybatis-dynamic-sql 官网的介绍,它并没有从本质上减少代码量的编写,但是它对于 orm 的设计是值得学习的,它更像是提供了mybatis官方所期望的数据库访问层的代码的编写方式,并且这种方式以及思想的确可以吸收借鉴,而不是一味的宣传推广 领域驱动模型 并随意的胡乱设计代码结构。

事务问题

上面提到的 不大建议在强事务性业务中使用本插件 ,注意 '强事务性业务',是为了避免大量数据保存的情况下,事务一次提交过多数据导致数据库压力过大, 事务提交缓慢并长期占用数据库连接资源,应用服务等待时间过长导致整体业务服务不稳定的现象。
实际上,本插件支持事务的特性,由mybatis自身的特性提供,并且在 mybatis-batch-spring 模块里我们把事务交给 spring 事务管理框架,由 spring 统一管理事务。
本插件的核心是使用一个批量模式的 SqlSession 执行单条保存的 MappedStatement ,但是在实际业务过程中,其他常规数据库访问使用默认的 SqlSession 实现。 SqlSession顾名思义就是sql会话,正常思维下,多个会话不能共享数据,事实上也是如此,多个SqlSession 之间不能直接互相感知对方的操作, 但是mybatis对SqlSession提供了 flushStatements() 方法,这是个神奇的方法,在无事务的情况下执行该方法,数据将会直接写入数据库, 在有事务管理的情况下执行该方法,它将会把自己会话里的数据库操作 “共享” 给当前事务,但是这个方法 仅对批量保存模式有效 ,也就是说只能把批量模式的会话执行的sql语句共享给其他会话,但是这已经能够使外部常规的会话能从当前事务里感知到所有的数据库操作,即“会话分享事务”, 这个方法最终是调用 java.sql.StatementexecuteBatch() 方法,由各个数据库驱动实现方法逻辑,因此本插件对事务控制的实际表现也因数据库而异, 但不管使用什么数据库,常规的数据库读写操作跟批量模式下的读写操作都被一个事务管理着,要么一起成功要么一起失败。
因此通过 flushStatements() 方法可以实现多个会话间互相感知对方对数据库的操作,并且这些会话也被相同的事务管理器控制。 本插件保证一个事务里的多个批量保存方法使用相同的批量保存会话。

综上,本插件的注解 @BatchInsert 提供了 flushStatements 参数,默认为true,表示是否执行sql,当然但哪怕设置成false了,当一次保存的数据大于配置的 batchSize 时,还是会有一部分数据已经被执行。此参数保证一个事务里的多个批量保存操作能即时共享给事务,如果设置成false,将会出现事务读未提交等问题。
关于事务问题示例如下,假定下面代码都是在spring事务里执行:

  1. 批量保存感知到之前执行的结果
// 直接以主键为1保存数据库,此时是在默认的SqlSession
testMapper.insert(1);
List<Integer> list = new ArrayList<>();
list.add(1);
list.add(2);
// 假设这是一个批量保存的方法,会创建一个新的SqlSession
// 如果设置flushStatements为false,它将不会抛出异常,但是在事务提交时抛出异常
testMapper.batchInsert(list);
  1. 单个保存感知到批量保存的结果
List<Integer> list = new ArrayList<>();
list.add(1);
list.add(2);
// 假设这是一个批量保存的方法,并且flushStatements为true
testMapper.batchInsert(list);
// 直接以主键为1保存数据库,此时是在默认的SqlSession里
// 由于本插件默认执行了flushStatements,所以这里将会抛出主键冲突异常
testMapper.insert(1);
  1. 默认事务无法感知到批量保存的结果
// 假设数据清空,直接以主键为1保存数据库,此时是在默认的SqlSession
testMapper.insert(1);
// 构造从1开始到5的集合
List<Integer> list = generateList(5);
// 假设这是一个批量保存的方法,并且flushStatements为false,batchSize>5,它不会抛出主键冲突的异常
testMapper.batchInsert(list);
// 查询数据库数据数量,此时是在默认的SqlSession
int count = testMapper.count();
// 由于flushStatements为false,并且执行数量小于batchSize,所以事务无法感知到
assert count = 1;
// 事务提交时将会抛出主键冲突的异常
  1. 批量保存部分提交
// 假设数据清空
// 构造从1开始到105的集合
List<Integer> list = generateList(105);
// 假设这是一个批量保存的方法,并且flushStatements为false,batchSize为10
testMapper.batchInsert(list);
// 查询数据库数据数量,此时是在默认的SqlSession
int count = testMapper.count();
// 由于flushStatements为false,但数量大于batchSize,每执行10条都会flushStatements()一次,
// 造成会话部分共享的情况,执行到第100条时flushStatements(),但后续数量不足10条,没有flushStatements()
assert count = 100;
// 事务提交后,数据库有105条数据

关于事务的功能测试见sample -> oracle-sample项目、sample -> mysql-sample项目、sample -> mssql-sample项目、sample -> postgre-sample项目, 数据库创建表test,修改连接配置后启动,请求web包下的url可以观察事务的工作情况,对比可以发现不同数据库对批量保存事务管理的不同表现:

oracle在会话里共享到的数据更新数时执行到具体的那一条上一条的数量;
mssql在会话里共享到的数据更新数时执行到具体的那一条上一条的数量;
mysql在会话里共享到上一批批处理成功的数量;
postgres直接把当前事务设置成aborted,后续无法再继续访问数据库,但如果捕获异常不回滚, 并且正常提交事务,可以发现数据库的数据是执行到报错的那一条的上一条。

性能测试

我们基于mysql、oracle、postgre、mssql测试batch方法和foreach方法的性能,实测batch方式性能方面以微弱的优势胜出。
测试方法:一次性保存1000_000条数据,1000条一批,batch方式配置 batchSize 参数,foreach手动分页,两种方式均以无事务的方式运行,连续测试5次并取平均值,

注意:mysql数据库连接字符串一定要加上参数: rewriteBatchedStatements=true,否则批量保存无效.

不同数据库分别使用batch与foreach批量保存测试的耗时数据如下,单位:毫秒:

mysql oracle postgre mssql
batch foreach batch foreach batch foreach batch foreach
1 14399 18810 8236 9002 15971 18763 20293 26365
2 13797 18365 8457 8556 18874 17755 21673 25676
3 13649 18356 6840 10093 16185 17713 20834 26257
4 13710 18836 6795 10516 16777 17253 21094 25441
5 13152 19292 8213 8307 16450 16434 20511 25775
平均 13741 18732 7708 9295 16851 17584 20881 25903

性能测试详情见sample -> simple-sample里的代码

更新日志

  • v2.0.3 发布第一个release版本
  • v2.0.4 事务里多个批量保存使用同一个会话
  • v2.0.5 spring事务里强制flushStatements

后续计划

  • 批量保存将支持java8 Stream入参
  • 尝试提供比较丰富的入参注解,并且也能实现相同的作用

参与者

其他

Mybatis-Plus已经实现了本插件提供的功能,考虑到项目组开发习惯,并未引入Mybatis-Plus,故而开发此插件。
版本:本插件开发时基于Mybatis: 3.5.9,SpringBoot: 2.7.3, Spring:5.3.22,实测可兼容版本为:Mybatis: 3.4.5,SpringBoot: 2.1.3, Spring:5.1.5,可能还能兼容更低的版本,欢迎测试。

背景

本项目由第一作者发起,并与其他作者共同完成,以下内容以第一作者的角度编写。
起因是我近期参与的公司项目是一个用来传输数据服务,估算每天有上亿的数据从全国各地业务库传输至集中的具有更好资源的数据库。由于数据具有业务属性,所以数据的最终落地必须由每个业务服务自己实现,为保证传输的效率,数据落地端就需要具有足够的能力处理这些数据,因此,业务需要在编写具备批量保存数据库能力的接收方法。
我们做的是一个服务全国的系统,并且拥有多个业务分类,涉及到需要传输数据的表非常多,每个业务都有几十上百张表,每张表都以foreach拼接的方式编写批量保存方法,那将会是一件极度痛苦的工作,项目初期接入的业务组开发同事是这么做的,工作量极大。当我在业余时间了解到mybatis模式之后,初期因为纠结事务问题,没有直接使用,后面考虑到还有其他项目组要陆续接入,因此我便邀请两个好友,在业余时间共同开发了这个插件,并优先给公司同事使用,以减轻他们的开发量。

You might also like...

循序渐进,学习Spring Boot、Spring Boot & Shiro、Spring Batch、Spring Cloud、Spring Cloud Alibaba、Spring Security & Spring Security OAuth2,博客Spring系列源码:https://mrbird.cc

Spring 系列教程 该仓库为个人博客https://mrbird.cc中Spring系列源码,包含Spring Boot、Spring Boot & Shiro、Spring Cloud,Spring Boot & Spring Security & Spring Security OAuth2

Jan 6, 2023

:herb: 基于springboot的快速学习示例,整合自己遇到的开源框架,如:rabbitmq(延迟队列)、Kafka、jpa、redies、oauth2、swagger、jsp、docker、spring-batch、异常处理、日志输出、多模块开发、多环境打包、缓存cache、爬虫、jwt、GraphQL、dubbo、zookeeper和Async等等:pushpin:

:herb: 基于springboot的快速学习示例,整合自己遇到的开源框架,如:rabbitmq(延迟队列)、Kafka、jpa、redies、oauth2、swagger、jsp、docker、spring-batch、异常处理、日志输出、多模块开发、多环境打包、缓存cache、爬虫、jwt、GraphQL、dubbo、zookeeper和Async等等:pushpin:

欢迎大家留言和PR~ Tip: 技术更新换代太快,本仓库仅做参考,自己的项目具体使用哪个版本还需谨慎思考~(不推荐使用最新的版本,推荐使用(最新-1|2)的版本,会比较稳定) spring-boot-quick 前言   自己很早就想搞一个总的仓库就是将自己平时遇到的和学习到的东西整合在一起,方便后

Jan 2, 2023

Repository for Bryn and Ethan's Java with MicroServices Batch

210607-FeederProgram This repository houses examples and environment setup for the Revature feeder program beginning on 6/7/2021 Environment Setup Gui

May 22, 2022

An Engine to run batch request with JSON based REST APIs

JsonBatch An Engine to run batch request with JSON based REST APIs Some usecase for this library: Provide a batch API to your REST API set. Quickly ro

Jan 3, 2022

Flink Table Store is a unified streaming and batch store for building dynamic tables on Apache Flink

Flink Table Store is a unified streaming and batch store for building dynamic tables on Apache Flink

Jan 1, 2023

Just a fun little word game! 🍄

Just a fun little word game! 🍄

Wordagam A fun & interactive word game. Check out the screenshots and the gameplay video. Download & Play Download the latest artefacts here. You can

Dec 24, 2022

just a fabric mod that gives you the ability to change your viewmodel. done for volker1 on discord.

viewmodel-changer just a fabric mod that gives you the ability to change your viewmodel. done for volker1 on discord. how-to-use to open the gui, pres

Dec 30, 2022

neutriNote - Markdown + Math in Just 3 MB!

neutriNote - Markdown + Math in Just 3 MB!

Official | FAQ | Documentation | Mastodon | XDA neutriNote (Community Edition) What is neutriNote? In a nutshell, all-in-one preservation of written t

Jan 3, 2023

just another wurstplustwo skid

Huzuni+ 2 I'm spanish sorry for my incredible professional english. Discord: https://discord.gg/AJTy8ZtGjh god NullName Clan because ies: https://disc

Dec 2, 2022

NotEnoughEnergistics is a port of Just Enough Energistics to Minecraft 1.7.10

中文 Not Enough Energistics NotEnoughEnergistics is a port of Just Enough Energistics to Minecraft 1.7.10 This mod replaces AE2's default NEI integratio

Oct 30, 2022

A hybrid chat android application based on the features of Instagram and Whatsapp having UI just as Telegram.

A hybrid chat android application based on the features of Instagram and Whatsapp having UI just as Telegram.

GupShup About App It is a free online chat android application, enabling user to create a free user account and then log in using the credentials. Aft

May 22, 2022

Community Mod. Just for fun.

CommunityMod Developed by members of the Discord server "TurtyWurty's Productions" over the span of 2 weeks, Community Mod is made up of a bunch of un

Aug 3, 2022

Sometimes people say that playing on anarchy servers far away from spawn is like Singleplayer with chat, so this mod just makes the exact thing possible.

Singleplayer With Chat Sometimes people say that playing on anarchy servers far away from spawn is like singleplayer with chat, so this mod just makes

Dec 2, 2022

Literally just adds milk, to act as a bridge for any other mods that want to do the same.

Milk lib Literally just adds milk, to act as a bridge for any other mods that want to do the same. See the Milk class for customisation; It allows for

Oct 17, 2022

Simple Android app during a coding night. Just Learning Firebase and Android

Simple Android app during a coding night. Just Learning Firebase and Android

KUI-App Simple Android app during a coding night. Just Learning Firebase and Android What we learned: Some basics of Android Basic setup of Firebase:

Aug 28, 2022

Just a simple implementation of K-Nearest Neighbour algorithm.

A simple K-Nearest Neighbor (KNN) Java library What is this repository for? Its a very simple implementation of K-Nearest Neighbor algorithm for Super

Apr 23, 2021

Just some small utilities for sandbox/modding

Testing Utilities Just some small utilities for sandbox/modding Team Changer: Change teams easilty. (Disabled in campaign) Seppuku Button: Kill yourse

Dec 12, 2022

make async-await code style available in java just like csharp and es6

make async-await code style available in java just like csharp and es6

JAsync - the async-await pattern of Java 中文版 JAsync implements Async-Await pattern just like es in Java. It allows developers to write asynchronous co

Dec 26, 2022

Win32 and DirectX mappings for java using Project Panama. Ignore the C# tag, it's just reference code used for decompilation

JWin32 A Project Panama-based mapping + wrapper generator for win32 headers. IMPORTANT As of 0.5.0, no prebuilt jars will be provided. You must genera

Nov 27, 2022
Releases(First-Stable-Version)
Owner
null
素材分享网:基于SpringBoot+MyBatis+阿里云OSS实现,适合于初学者。优秀毕业设计,喜欢的小伙伴可以点上面的⭐支持一下嘛!

素材分享网 这是一个多用户的资源共享平台,是一个专为文件共享而设计的新概念网盘系统。这是一个综合性非常强、灵活度非常高的素材网站,注册成为用户之后可以上传自己所喜欢的素材供他人浏览和高速下载。 同时设立网站管理员来审核用户上传的素材以及创建不同的素材分类来方便用户去上传、搜索,以此来为素材来设立分区

莫提 19 Nov 16, 2022
HasorDB is a Full-featured database access tool, Providing object mapping,Richer type handling than Mybatis, Dynamic SQL

HasorDB is a Full-featured database access tool, Providing object mapping,Richer type handling than Mybatis, Dynamic SQL, stored procedures, more dialect 20+, nested transactions, multiple data sources, conditional constructors, INSERT strategies, multiple statements/multiple results. And compatible with Spring and MyBatis usage.

赵永春 17 Oct 27, 2022
This repository has the code for basic operations on tries - insert, search and delete.

This repository is part of the unacademy session series I took on 17th and 18th of April, 2021. I am daily improving it a bit, with the amount of time

Tarun Gupta 12 Apr 27, 2021
Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects.

Just-In-Time Access Just-In-Time Access is an AppEngine application that lets you manage just-in-time privileged access to Google Cloud projects. Syno

Google Cloud Platform 36 Jan 3, 2023
The simple, stupid batch framework for Java

Easy Batch The simple, stupid batch framework for Java™ Project status As of November 18, 2020, Easy Batch is in maintenance mode. This means only bug

Jeasy 571 Dec 29, 2022
Distributed Stream and Batch Processing

What is Jet Jet is an open-source, in-memory, distributed batch and stream processing engine. You can use it to process large volumes of real-time eve

hazelcast 1k Dec 31, 2022
Immutable key/value store with efficient space utilization and fast reads. They are ideal for the use-case of tables built by batch processes and shipped to multiple servers.

Minimal Perfect Hash Tables About Minimal Perfect Hash Tables are an immutable key/value store with efficient space utilization and fast reads. They a

Indeed Engineering 92 Nov 22, 2022
A distributed data integration framework that simplifies common aspects of big data integration such as data ingestion, replication, organization and lifecycle management for both streaming and batch data ecosystems.

Apache Gobblin Apache Gobblin is a highly scalable data management solution for structured and byte-oriented data in heterogeneous data ecosystems. Ca

The Apache Software Foundation 2.1k Jan 4, 2023