Future Vs Queueable
Future methods and Queueable Apex are used to perform asynchronous processing, but they have usage and Capabilities Future :- You can call a future method for executing long-running operations, such as callouts to external Web services or any operation you’d like to run in its own thread, on its own time. Execution Limits:- . Each execution of future method is treated as a separate transaction with its own set of governor limits. . Multiple Future methods can be executed concurrently . we cann't monitor the jobs. . The specified parameters must be primitive data types, arrays of primitive data types, or collections of primitive data types. Limitations:- . The maximum number of future method invocations per a 24-hour period is 250,000 or the number of user licenses in your organization multiplied by 200, whichever is greater. . 50 future method invocations per transaction . The maximum number of future methods that can b...