Batch query method of hbase data based on lua servlet in ttlb
A batch and table data technology, applied in the field of data processing, can solve the problems of reducing system concurrent processing performance, increasing delay, and large system overhead, and achieve the effect of reducing system memory overhead and I/O
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0064] Classes and functions involved in the present invention and implementations are as follows:
[0065] 1. Wrapper class
[0066] Initialize the ReadHBase class, and call the Lua API of LuaScript to provide services to the Servlet through the Luajava plug-in: setReadParameter caches the query request in the Readqueue table of LuaScript; getResult quickly finds the query result from the Readqueue. In addition, the first thread in the TTLB calls schedule to complete the batch query (other threads return, wait or search for query results).
[0067] Data members of the Wrapper class:
[0068] 1. private Boolean startscheduler; / / whether the batch query request execution thread has been started
[0069] 2. private static Wrapper instance=new Wrapper(); / / single instance constructor
[0070] 3. private LuaState l; / / LuaJava library
[0071] 4. private lock = "LuaScheduler"; / / synchronous lock
[0072] 5. private int lastbatchquerytime; / / last batch query ex...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com