当前位置:网站首页>SPL-介绍(一)
SPL-介绍(一)
2022-07-01 08:12:00 【胡安民】
SPL官网
http://www.scudata.com.cn/
介绍
业务逻辑经常包含较复杂的流程和计算,同时涉及数据库的读写。由于授权麻烦、影响数据库安全、无法迁移、技术要求高、编写困难等原因,很多场景不适合用存储过程实现业务逻辑。因为不擅长复杂的流程处理,SQL也不适合单独实现业务逻辑,必须与JAVA等高级语言配合才行。但SQL和高级语言的语法风格迥然不同,数据结构差异巨大,导致两者难以配合,开发效率始终无法提高。在这种情况下,ORM适时而生。
ORM是一种将结构化数据(表/记录)映射为高级语言的对象的技术,这样就可以用统一的数据结构和语法风格实现业务逻辑,其根本目标还是提高开发效率。常见的ORM技术有mybatis,Hibernate、QueryDSL、JOOQ等。
在数据结构和语法风格的统一方面,ORM表现优秀,已经在大量项目中得到广泛应用。但ORM仍有很多不足,主要表现在:缺乏专业的结构化数据类型,集合运算不够方便,读写数据库时代码繁琐,不支持热部署,库函数不够丰富,复杂计算难以实现。ORM的这些缺点导致业务逻辑的开发效率没有明显提升,有时甚至大幅降低。
作为JAVA下开源的结构化数据处理类库,SPL可以解决ORM期望目标,甚至有更好的表现。












SPL应用场景



SPL技术介绍




个人总结
- 很多时候你想统计数据库某些数据,但是如果写sql需要写一大堆,那么使用SPL几行搞定
- 在写代码的时候需要从多个不同的数据源之间查询数据和计算非常麻烦,那么使用SPL是不错的选择
- 在写代码时候计算非常复杂的海量数据,使用代码来完成的话效率低而且容易出错,那么使用SPL直接帮你把算法,多线程,并行,等都实现完毕了直接使用就行
- 在代码里处理结构化数据文件(csv,excel,等),需要先解析然后在处理并且处理的过程也是非常繁琐,在SPL中所见及所得,而且处理和计算yyds
- 大数据支持,集群并行处理(这个就牛逼了), 在很多时候一台机器的性能是有限的,那么将数据分布到不同的机器上同时处理然后在汇总,这个如果要自己研发的话,呵呵懂得都懂,这里面设计到很多算法和多线程,不是一般人能玩的来的,而且工作量也是吓人的, 但是不用担心SPL都给解决了
- 在代码中逻辑修改后,那么就要重新打包然后上线,这个过程在大公司中是非常麻烦的(走各种流程审批),使用SPL热切换就能避免这个过程,只需要在前端写一个上传SPL脚本文件的入口就行,上传后把原来的脚本替换掉
- 能用的地方太多了,这里就不一 一 叙述了,自己研究发现


边栏推荐
- 7-26 word length (input and output in the loop)
- XX攻击——反射型 XSS 攻击劫持用户浏览器
- Embedded-c language-10-enumeration / (function) pointer (function) / multi-level pointer /malloc dynamic allocation / file operation
- To prevent "activation" photos from being muddled through, databao "live detection + face recognition" makes face brushing safer
- [force deduction 10 days SQL introduction] Day10 control flow
- Cmake I two ways to compile source files
- Luogu p3799 demon dream stick
- Tupu software has passed CMMI5 certification| High authority and high-level certification in the international software field
- String coordinates of number to excel
- 使用beef劫持用户浏览器
猜你喜欢
![[untitled]](/img/be/3523d0c14d555b293673af2b6fbcff.jpg)
[untitled]

Significance and measures of source code encryption

0 basic introduction to single chip microcomputer: how to use digital multimeter and precautions

Manually dig XSS vulnerabilities

【入门】输入整型数组和排序标识,对其元素按照升序或降序进行排序

【入门】输入n个整数,输出其中最小的k个

Soft keyboard height error

软键盘高度报错

01 numpy introduction

When using charts to display data, the time field in the database is repeated. How to display the value at this time?
随机推荐
Manually dig XSS vulnerabilities
使用 setoolkit 伪造站点窃取用户信息
Five combination boxing, solving six difficult problems on campus and escorting the construction of educational informatization
Comprehensive experiment Li
[untitled]
Source code analysis of open source API gateway APIs IX
Aardio - Method of self constructed geticonhandle
Insufficient executors to build thread pool
Leetcode t31: next spread
【Redis】一气呵成,带你了解Redis安装与连接
To prevent "activation" photos from being muddled through, databao "live detection + face recognition" makes face brushing safer
0 basic introduction to single chip microcomputer: how to use digital multimeter and precautions
Leetcode t40: combined sum II
leetcode T31:下一排列
[dynamic planning] p1020 missile interception (variant of the longest increasing subsequence)
Latex formula code
[introduction] approximate value
网关gateway-88
OJ输入输出练习
【入门】提取不重复的整数