当前位置:网站首页>SPL Introduction (I)

SPL Introduction (I)

2022-07-01 08:29:00 Hu Anmin

SPL Official website

http://www.scudata.com.cn/

Introduce

Business logic often involves more complex processes and calculations , At the same time, it involves the reading and writing of the database . Due to the trouble of Authorization 、 Affect database security 、 Unable to migrate 、 High technical requirements 、 Writing difficulties and other reasons , Many scenarios are not suitable for implementing business logic with stored procedures . Because I'm not good at complex process processing ,SQL Nor is it suitable to implement business logic alone , Must be with JAVA Wait for the cooperation of high-level language . but SQL The grammatical style is quite different from that of high-level languages , Data structures vary greatly , It makes it difficult for the two to cooperate , Development efficiency can never be improved . under these circumstances ,ORM Born at the right time .
ORM It is a way to integrate structured data ( surface / Record ) Techniques for mapping objects to high-level languages , In this way, business logic can be realized with unified data structure and syntax style , Its fundamental goal is to improve development efficiency . common ORM Technology has mybatis,Hibernate、QueryDSL、JOOQ etc. .
In the unification of data structure and syntax style ,ORM Perform well , It has been widely used in a large number of projects . but ORM There are still many shortcomings , Mainly in : Lack of professional structured data types , Set operation is not convenient , The code is cumbersome when reading and writing the database , Hot deployment is not supported , Library functions are not rich enough , Complex computing is difficult to achieve .ORM These shortcomings lead to no significant improvement in the development efficiency of business logic , Sometimes even significantly reduce .
As JAVA Open source structured data processing class library ,SPL Can solve ORM Expect goals , Even better performance .

 Insert picture description here

 Insert picture description here
 Insert picture description here
 Insert picture description here

 Insert picture description here

 Insert picture description here

 Insert picture description here

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here

SPL Application scenarios

 Insert picture description here
 Insert picture description here
 Insert picture description here

SPL Technology is introduced

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here

Personal summary

  1. Many times you want to count some data in the database , But if you write sql It takes a lot of writing , So use SPL In a few lines
  2. When writing code, it is very troublesome to query data and calculate from multiple different data sources , So use SPL It's a good choice
  3. When you write code, you calculate a very complex mass of data , Using code to do this is inefficient and error prone , So use SPL Directly help you put the algorithm , Multithreading , parallel , After the implementation, you can use it directly
  4. Dealing with structured data files in code (csv,excel, etc. ), It needs to be parsed first and then processed, and the processing process is also very cumbersome , stay SPL What you see and what you get , And processing and Computing yyds
  5. Big data support , Cluster parallel processing ( This is awesome ), In many cases, the performance of a machine is limited , Then distribute the data to different machines for processing at the same time, and then summarize it , If you want to develop this by yourself , Hehe, I know everything , There are many algorithms and multithreads designed , Not ordinary people can play , And the workload is frightening , But don't worry SPL It's all settled
  6. After logical modification in the code , Then you have to repackage and go online , This process is very troublesome in large companies ( Go through various processes for approval ), Use SPL Hot switching can avoid this process , Just write an upload on the front end SPL Just enter the script file , Replace the original script after uploading
  7. There are too many places to use , It's different here One Narrated , My own research found that

 Insert picture description here

give the thumbs-up - Collection - Focus on - Easy to review and receive the latest content in the future
There are other questions to discuss in the comments section - Or believe me - I will reply as soon as I receive it
thank , coordination , I hope my efforts will help you ^_^

disclaimer : Part of the material in this paper comes from the Internet , The copyright belongs to the creator , If articles exist / picture / Improper use of audio and video , Please feel free to contact me by private letter .
原网站

版权声明
本文为[Hu Anmin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207010812080051.html