You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "Naoki Takezoe (JIRA)" <ji...@apache.org> on 2017/06/23 01:14:00 UTC

[jira] [Resolved] (PIO-90) Improve /batch/events.json endpoint performance

     [ https://issues.apache.org/jira/browse/PIO-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Naoki Takezoe resolved PIO-90.
------------------------------
    Resolution: Fixed

> Improve /batch/events.json endpoint performance
> -----------------------------------------------
>
>                 Key: PIO-90
>                 URL: https://issues.apache.org/jira/browse/PIO-90
>             Project: PredictionIO
>          Issue Type: Improvement
>            Reporter: Naoki Takezoe
>            Assignee: Naoki Takezoe
>             Fix For: 0.12.0-incubating
>
>
> It's possible to improve /batch/events.json endpoint of the event server performance by using batch inserting in storage implementations. For example, Elasticsearch has bulk API and also JDBC has batch updating.
> I propose adding LEvent.futureInsertBatch() that takes Seq[Event] and modify /batch/events.json endpoint to use it. The default implementation is calling existing futureInsert() per event, and we can override it in the storage implementation to use storage specific batch inserting API.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)