I have a spring boot web project which needs to work with a web crawler system. My crawler service works without any downtime and each crawl request maybe have very long time processing. I want to get the URLs for crawl through a REST interface. The user in my web application submits the list of URLs to the web application and I want to show to him/her: your request has been submitted. After the completion of crawl for this request, I want to update the request status in web form. What is the best approach for implementing this scenario?
the best approach for processing submitted time consuming tasks through REST api in spring boot
207 Views Asked by aeranginkaman At
1
There are 1 best solutions below
Related Questions in SPRING-BOOT
- Timing Issue with Spring Boot Annotation Configuration
- LightAdmin - Customise parsing DateTime with app timezone
- Creating distribution with repackaged spring boot jar using gradle application plugin
- Spring Boot MVC non-role based security
- Add JVM args to spring boot application
- The method and() is undefined for the type HttpSecurity
- swagger ui not working for swagger version 2
- Spring IO Platform 2.0 - Themes/Changes?
- JPA findDistinctPropertyBy magic method doesn't work as expected when using spring-boot-starter-jpa
- Spring boot check external service status on boot
- Running a specific spring batch job amongst several jobs contained withing a spring boot fat jar
- Adding security to rest api service built with Spring Boot app
- Spring Redirecting from Http to Https Breaks Rest Controller Test
- Service not starting using Spring-boot during integration tests
- Spring Boot Actuator Health Returning DOWN
Related Questions in SPRING-MVC
- Redirect inside java interceptor
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- No mapping found for HTTP request with URI [/test/WEB-INF/jsp/hello.jsp] in DispatcherServlet with name 'HelloWeb'
- Show login dialog when not authenticated yet
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
- LightAdmin - Customise parsing DateTime with app timezone
- Spring + TestNG Autowiring failure - NOT due to "new"
- Spring Boot MVC non-role based security
- Pretty print JSON with Spring 4
- How to initialize @DateTimeFormat Parameter on Get?
- Spring security /j_spring_security_login 404 error
- Use thymeleaf template for some pages and rest for some for building gradle project
- java.lang.StackOverflowError in spring controller
- submit dropdown angularjs spring MVC
Related Questions in MESSAGE-QUEUE
- Message Queues: Per Message Guarantees
- mq_timedsend() returns error 14 "bad address"
- Posix message queues and the command line?
- Best way to ensure an event is eventually published to a message queuing sytem
- Azure Service Bus Queue grouped messages
- How to interrupt an xQueueReceive() API in FreeRTOS?
- Spring JMS - Unable to connect to broker URL with embedded Broker
- How to do error handling with EasyNetQ / RabbitMQ
- Setting message priority in RabbitMQ PHP
- Using a queuing system to do custom logic
- Storm-jms Spout collecting Avro messages and sending down stream?
- How many tcp connection created on a queuing protocol such as ZeroMQ
- RabbitMQ: How to send Dead Letter Exchange from Erlang client
- What happens to message in queue of 1 length which is not acked in rabbitmq?
- Can I view raw message in iron.io webpage?
Related Questions in MESSAGEBROKER
- Websphere Message broker multi-instance message flow
- using Message oriented middleware for communications within single web application realm
- GETTING SERIALIZING ERROR WHILE ASSIGNING VALUE TO THE DFDL PARSER IN ESQL
- How to write CHARACTER variable to file in ESQL?
- Number of messages flowed through queue
- Use of java in WMQ/WMB systems
- DFDL Parsing for x9.2 specification message
- How to print a message in broker log
- Not able to write time stamp value from WebSphere Message Broker to SQL Server 2012 database
- Paho MQTT cleanSession set to false yet not receiving messages
- Lightweight message queue to use with Celery 4.0
- RabbitMQ : Can I get latest n messages?
- What is the best style of integration considering a large volume of transactions and guaranteed delivery?
- is redis pub/sub realistic in php?
- NPE when connecting to the broker
Related Questions in DECOUPLING
- Understanding how to decouple
- What does decoupling two classes at the interface level mean?
- Breaking cyclic dependency in constructor
- Java: Is there use to refactoring/decoupling if only one class will use the new class?
- REST services - How to hint clients on how to represent data while maintaining decoupling
- Decoupled Message Queue Pattern for Login
- How is JavaScript library bloat mitigated with Web Components?
- Faster Tests - How to Decouple Rails 4 Controllers?
- Coupling in Enumerations
- Decoupling the Dal Repository using the Factory pattern
- Structuring Spring application with decoupled modules
- Writing a good interface to de-couple from a particular technology ... what to do about exceptions?
- How to make objects in the deep easily configurable "from the top"?
- What's a good way to couple and decouple linked classes?
- Help with decoupling a game design
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What if after your URLs has been submitting you return back to the client a token, so from the client side there can be calls to the REST interface on a time basis (like every minute) using the token to ask for the status of the crawl?