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 answers
Related Questions in SPRING-BOOT
- Multi Tenancy in Spring - Partitioned Data Approach
- I have created a spring boot application with spring data JPA, Rest ,oracle and i am getting this ORA-00933: SQL command not properly ended
- Springboot: How to get an entity optional property and check null?
- How to create jasper report in spring boot rest api with jpa
- JSON Body is Not Passing Certain Strings
- Unresolved reference error is showing up after adding the dgs codegen plugin successfully
- Transaction silently rolled back
- JPA buddy error when generating JPA Entities from DB
- Migrating Spring Boot 2 to 3 throws org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
- Hibernate SQL Error: Missing FROM-clause entry for table "th1_1"
- Appwrite and / or Spring Boot Backend
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. I'm using Postgresql
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- springboot class org.hibernate.mapping.Bag cannot be cast to class org.hibernate.mapping.SimpleValue
- Spring security causing 404 with message "No static resource login"
Related Questions in SPRING-MVC
- springboot class org.hibernate.mapping.Bag cannot be cast to class org.hibernate.mapping.SimpleValue
- Spring security causing 404 with message "No static resource login"
- Getting error while deploying war in tomcat 9
- Why Jackson needs a default constructor?
- what is error for the below springmvc code?
- Expected a JavaScript module script but the server responded with a MIME type of "text/html" -- when integrating Angular FrontEnd with spring MVC
- How to manage exceptions thrown in filters(common filters not only spring-security)?
- Bean Validaton : org.springframework.web.bind.MethodArgumentNotValidException
- Where I use @ExtendsWith(MockitoExtension.class) and @SpringBootTest anyone clarify me with example
- maven clean install and mvn spring-boot:run gives me on POST request 401 (Unauthorized) error
- How to deploy Tibco GI to windows 10
- Spring Boot request body validation not working
- maintain the session after logout in existing spring mvc project
- kendo is not defined after upgrade springboot from 2.0 to 3.1
- Cors not allowed to completed the request in Spring MVC
Related Questions in MESSAGE-QUEUE
- What's the right ZMQ architecture for my scenario?
- How to Extract Queue Name, Priority, and Message ID from RabbitMQ Inbound Endpoint Messages in WSO2 MI 4.2?
- Is there any example or design of a queue system in microservices?
- tkinter: search widget by name in an efficient way
- How do I maintain the same internal host on RabbitMQ?
- How to use consistent hashing across publishers, queues, and consumers
- How can I monitor/locate specific communications between programs on WIN10?
- Celery manually decoding message body in python
- How to read more than 32 message from Azure storage Queue
- How many senders and receivers of a notification are possible in a POSIX message queue
- Make sure BullMQ queue pushes data to single node in redis cluster
- Problem with AMQP-CPP and libuv - TCP Channel is not ready
- The switch of keyboard layout on Windows: synchronization with the multistage-processing of character input
- Queuing mechanism per account
- Is there a way to define a RabbitMQ consumer that keeps listening for a queue without blocking the program?
Related Questions in MESSAGEBROKER
- Problem with C# submitting file to IBM MQ Broker
- Delete the number (limit) of records older than 180 days from ESQL (ACE flow)
- ESQL : Extracting Unique Elements from Recurring XML Segment
- MQTT handleMessage Function Not Invoked Despite Subscription
- .NET - Testing system with message broker
- Mapping XML in lt-gt format to CCB in ESQL
- At what point to create queues in messages broker?
- Consume service bus message after x time
- RabbitMQ BrokerUnreachableException (.net 4.8 vs .NET 8.0) (doesn't work/works)
- Build Mosquitto (MQTT broker) on Ubuntu
- Cannot see Pub/Sub message on ActiveMQ Artemis console
- SQLtableDependency doesn't trigger on update triggers only on insertion and deletion of row in dot net core web application
- How to subscribe to multiple topics (at least 2) and republish the message recieved to a single topic with Mosquitto MQTT using linux shell comands
- Message Broker(JMS compliant) options supporting XA Transactions on Azure Cloud
- Support for shared subscription in EdgeXFoundry Jakarta 2.1 release
Related Questions in DECOUPLING
- How can I decouple them?
- Decouple client (browser) from Vue frontend and Python backend running on Kubernetes containers
- Next.js with Drupal, X-Frame-Options: SAMEORIGIN, "Unsupported Media Type" while post using axios
- Drupal Commerce API with Decoupled Drupal
- is there anything like babel transpiler for flutter
- How to prevent coupling between our code and third party libraries?
- Switching long inheritance tree for composition / agreggation
- Proper way to decouple components
- Is having a Dictionary with one entry per member of an Enum a bad design choice?
- Binding delegates from owner vs in component to prevent coupling
- JavaScript submit form fields to PHP back-end throws Unsupported Media Type
- Is this an example of the Mediator or Facade pattern, or something else?
- Dependency inversion in python - why is it used? Can't see the benefit
- Azure Active Directory SSO (SAML protocol) when frontend is decoupled from backend. How will frontend be notified that validation is completed?
- Decoupling my components from the UI system
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?
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)
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?